<?php
/**
 * Created by PhpStorm.
 * User: qishengqiang
 * Date: 2022-06-03
 * Time: 13:06
 */

namespace app\models;


class OrganizationDonates extends ModelBase
{
    protected $pk = 'donateId';

    public function user()
    {
        return $this->hasOne(Users::class, 'userId', 'userId');
    }
}